<include file="Public:header" />
<div id="main" class="main" >
<div class="content">
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/Js/editor/kindeditor.js"></script>
<script type="text/javascript">
    KE.show({
        id : 'content_1' //TEXTAREA输入框的ID
   });
</script>
<div class="title">编辑产品 [ <a href="__URL__">返回列表</a> ]</div>
<div class="fRig"><neq name="vo.image" value=''><img src="__PUBLIC__/Uploads/{$vo.image}"  width="160" height="120" style="border:1px solid silver;padding:1px" /></neq></div>
<div id="result" class="result none"></div>
<form method='post' id="form1" name="form1"action="__URL__/update"  enctype="multipart/form-data">
<table cellpadding=3 cellspacing=3 >
<tr>
	<td class="tRight" width="10%">名称：</td>
	<td class="tLeft" ><input type="text" class="medium bLeftRequire" name="name" value="{$vo.name}"></td>
</tr>
<tr>
	<td class="tRight">类型：</td>
	<td class="tLeft">
		<SELECT class="small bLeft"  name="typeId">
			<option <eq name="vo.typeId" value="1" >selected</eq> value="1">面部</option>
			<option <eq name="vo.typeId" value="2" >selected</eq> value="2">身体</option>
			<option <eq name="vo.typeId" value="3" >selected</eq> value="3">套装</option>
			<option <eq name="vo.typeId" value="4" >selected</eq> value="4">其他</option>
		</SELECT>
	</td>
</tr>
<tr>
	<td class="tRight tTop">价格(元)：</td>
	<td class="tLeft"><input type="text" class="small bLeftRequire" name="price" value="{$vo.price}"></td>
</tr>
<tr>
	<td class="tRight tTop">可用次数：</td>
	<td class="tLeft"><input type="text" class="small bLeftRequire" name="times" value="{$vo.times}"></td>
</tr>
<tr>
	<td class="tRight">优惠：</td>
	<td class="tLeft"><SELECT class="small bLeft"  name="isExt">
	<option <eq name="vo.isExt" value="1" >selected</eq> value="1">是</option>
	<option <eq name="vo.isExt" value="0" >selected</eq> value="0">否</option>
	</SELECT></td>
</tr>
<tr>
	<td class="tRight">状态：</td>
	<td class="tLeft"><SELECT class="small bLeft"  name="status">
	<option <eq name="vo.status" value="1" >selected</eq> value="1">启用</option>
	<option <eq name="vo.status" value="0" >selected</eq> value="0">禁用</option>
	</SELECT></td>
</tr>
<tr>
	<td></td>
	<td class="center"><div style="width:85%;margin:5px">
	<input type="hidden" class="huge bLeftRequire" name="id" value="{$vo.id}">
	<input type="submit" value="更 新" class="button small">
	</div></td>
</tr>
</table>
</form>
</div>
</div>